#pragma once
#include "room.h"
#include "BgObj.h"
#include "cnFont/GfxFont.h"

#include <vector>
#include <string>
#include <hgeresource.h>
class EndRoom :
	public Room
{
public:
	EndRoom(const char* resName);
	virtual ~EndRoom(void);
	virtual bool FrameFunc();
	virtual bool RenderFunc();
private:
	GfxFont *m_gfnt;
	hgeResourceManager *m_Res;
	BgObj *m_background;
	std::vector<std::basic_string<wchar_t> > m_text;
	std::vector<std::basic_string<wchar_t> >::const_iterator m_iter;
	float m_time;
};
